package cn.dust.design.pattern.behavioral.strategy;

/**
 * @Author: dust
 * @Date: 2019/11/27 19:21
 */
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void excute(){
        promotionStrategy.doPromotion();
    }
}
